The phrase "whole mess" means a complicated, confusing, or chaotic situation or collection of things.